package com.bigdata.movieticketapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author movie
 * @since 2023-11-09
 */
@Data
@TableName("movie_session")
@ApiModel(value = "MovieSession对象", description = "")
public class MovieSession implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("场次id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("电影id")
    private Integer movieId;

    @ApiModelProperty("电影开场时间")
    private LocalDateTime startTime;

    @ApiModelProperty("电影结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("影厅类型")
    private Integer cinemaType;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("形式")
    private String format;
}
